import request from '@/utils/request'

// 新建合同案件信息列表
export function caseLists(params?: Record<string, any>) {
    return request.get({ url: '/case/list', params })
}

// 新建合同案件信息详情
export function caseDetail(params: Record<string, any>) {
    return request.get({ url: '/case/detail', params })
}

// 新建合同案件信息新增
export function caseAdd(params: Record<string, any>) {
    return request.post({ url: '/case/add', params })
}

// 新建合同案件信息编辑
export function caseEdit(params: Record<string, any>) {
    return request.post({ url: '/case/edit', params })
}

// 新建合同案件信息删除
export function caseDelete(params: Record<string, any>) {
    return request.post({ url: '/case/del', params })
}
